<div id="head">
  <!--------- 顶部 start --------->
  <div id="head-main">
  	<div class="fl"><img src="{dede:global.cfg_templets_skin/}/images/krj_logo.png" /></div>
  	<div class="hmr fr">
  		<span class="fr"><a href="/">邮箱</a>&nbsp;│&nbsp;<a onclick="SetHome(this,window.location)" href="javascript:void(0);">设为首页</a>&nbsp;│&nbsp;<a onclick="AddFavorite(window.location,document.title)" href="javascript:void(0);">设为导航</a></span><div class="cl"></div>
        <div class="rex"><span style="color:#666;">服务热线：</span><span style="color:#F00;">0755-29812627</span></div>
  	</div>
  </div>
  <!--------- 顶部 end --------->
<script type="text/javascript">
<!-- 
function AddFavorite(sURL, sTitle) 
{ 
    try 
    { 
        window.external.addFavorite(sURL, sTitle); 
    } 
    catch (e) 
    { 
        try 
        { 
            window.sidebar.addPanel(sTitle, sURL, ""); 
        } 
        catch (e) 
        { 
            alert("加入收藏失败，请使用Ctrl+D进行添加"); 
        } 
    } 
} 
function SetHome(obj,vrl){ 
        try{ 
                obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl); 
        } 
        catch(e){ 
                if(window.netscape) { 
                        try { 
                                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 
                        } 
                        catch (e) { 
                                alert("此操作被浏览器拒绝！\n请在浏览器地址栏输入'about:config'并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。"); 
                        } 
                        var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); 
                        prefs.setCharPref('browser.startup.homepage',vrl); 
                 } 
        } 
} 
//--> 
</script>
  <!--------- 主菜单 start --------->
 <div id="nav">
  <ul>
    <li><a href="{dede:global.cfg_cmsurl/}/" title="首页"><span id="nav-home"></span></a></li> 
    {dede:channel type='top' row='10' currentstyle="<li class='curs'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
      	<li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span></a></li>
    {/dede:channel} 
  </ul>
  <div class="search fr">
  	<form  name="formsearch" action="{dede:global.cfg_cmsurl/}/plus/search.php" style="DISPLAY: inline">
        <input type="text" value="" name="q" id="search-keyword" class="search-text">
        <input type="hidden" value="titlekeyword" name="searchtype" id="search-option" />
        <input type="submit" value="" class="search-btn">
    </form>
  </div>
 </div>
  <!--------- 主菜单 end --------->
</div><div class="cl"></div>